package com.yqya.schedule.task.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author Kevin
 * @date 2019-07-14
 */
@Mapper
public interface SysCronMapper {

    /**
     * 获取第1条记录
     */
    @Select("select cron from sys_cron order by id asc limit 1")
    String findFirstCron();
}
